/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   Module Name          : com.yaodian100.ec.product.remote.RemoteDaphneProductServiceImpl
   Module Description   :

   Date Created      : 2010/9/17
   Original Author   : feeling.wang
   Team              : yaodian100
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   MODIFICATION HISTORY
   ------------------------------------------------------------------------------
   Date Modified       Modified by       Comments
   ------------------------------------------------------------------------------
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
package com.yaodian100.ec.product.remote;

import org.springframework.beans.factory.annotation.Autowired;

import com.yaodian100.ec.product.service.DaphneProductService;

/**
 * @author feeling.wang
 * 
 */
public class RemoteDaphneProductServiceImpl implements RemoteDaphneProductService {
	@Autowired
	private DaphneProductService daphneProductService;

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.yaodian100.ec.product.remote.RemoteDaphneProductService#importDaphneProduct(java.lang.String,
	 * java.lang.String)
	 */
	@Override
	public String importDaphneProduct(String importDate, String[] productIds) {
		try {
			daphneProductService.importDaphneProduct(importDate, productIds);
			return "true";
		} catch (Exception e) {
			return "[importDaphneProduct]err:" + e.getMessage();
		}
	}
}